package com.tmsps.ne4weixin.bean.message.custom;

import java.util.List;

import com.tmsps.ne4weixin.bean.message.custom.vo.MsgMenu;
import com.tmsps.ne4weixin.bean.message.custom.vo.MsgMenuButton;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @Title: MsgMenuMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom.vo
 * @Description: 客服消息-发送菜单消息
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MsgMenuMessage extends BaseMessage {

	/**
	 * 
	 */
	private MsgMenu msgmenu;

	public MsgMenuMessage(String touser) {
		super(touser, MsgTypeEnum.MSGMENU);
	}

	public MsgMenuMessage(String touser, String head_content, String tail_content) {
		super(touser, MsgTypeEnum.MSGMENU);
		this.msgmenu = new MsgMenu(head_content, tail_content);
	}
	
	public MsgMenuMessage(String touser, String head_content, String tail_content, List<MsgMenuButton> list) {
		super(touser, MsgTypeEnum.MSGMENU);
		this.msgmenu = new MsgMenu(head_content, tail_content, list);
	}
	
	public MsgMenuMessage(String touser, MsgMenu msgmenu) {
		super(touser, MsgTypeEnum.MSGMENU);
		this.msgmenu = msgmenu;
	}
}
